package com.longdaji.decoration.ui.login.passwordLogin;

import com.longdaji.decoration.base.BasePresenter;
import com.longdaji.decoration.base.BaseView;
import com.longdaji.decoration.bean.Account;

/**
 * Created by Kanade on 2018/3/12 0012.
 */

public interface PasswordLoginContract {
    interface IView extends BaseView {

        void showHidePassword(boolean isHidePassword);

        //interface test
        void clearTestResult();

        void showTestResult(boolean isSuccess);

        void showAccountError();

        void goMainByUsername(Account account);

        void showNimLoginFail();
    }

    interface IPresenter extends BasePresenter<IView> {
        void onConfirmClick(String account, String password, String loginTime);

        void onHidePasswordClick(boolean isPasswordHidden);

        //interface test
        void doInterfaceTest(int number);
    }
}
